package com.xr.sunnyday.dao;

import com.xr.sunnyday.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

    OrderSetting findByOrderDate(Date orderDate);

    void updateNumber(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<Map<String, Integer>> getOrderSettingByMonth(String startDate);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
